Automattic\WooCommerce\Pinterest\Tracking B

Total Complexity 84
Dependencies 6
Dependents 3
Total lines 729
Lines of code 322
Logical lines of code 148
Comment lines 205
Methods 29
Properties 6

Methods 29

Method Rating Maintainability Complexity Lines of code
maybe_init()
A
48 8 31
get_hashed_customer_email()
S
60 7 12
hook_checkout_event()
S
47 5 35
hook_add_to_cart_event()
S
55 4 19
price_includes_tax()
S
64 5 9
get_third_party_installed_tags()
S
61 4 13
base_tag()
S
60 4 13
maybe_connect_advertiser_tag()
S
66 4 8
tracking_enabled()
S
65 4 9
get_add_to_cart_snippet_product()
S
54 2 25
enqueue_scripts()
S
63 3 10
print_script()
S
65 3 9
prepare_event_code()
S
66 3 8
load_async_events()
S
66 3 9
save_async_events()
S
71 3 5
get_third_party_tags_warning_message()
S
60 2 13
page_visit_event()
S
61 2 13
category_visit_event()
S
63 2 11
get_add_to_cart_snippet_archive()
S
60 1 18
add_event()
S
73 2 4
get_product_display_price()
S
77 2 3
ajax_tracking_snippet()
S
67 2 8
print_noscript()
S
66 2 8
verify_advertiser_connection()
S
66 2 8
late_events_handling()
S
77 1 4
filter_add_to_cart_attributes()
S
66 1 8
get_active_tag()
S
80 1 3
enqueue_event()
S
78 1 3
print_event()
S
78 1 3